package com.jy.adscm.operation.cg.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jy.adscm.operation.cg.bean.CgBom;
import com.jy.adscm.operation.cg.bean.CgBomSupplier;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.operation.cg.bean.CgSupplier;
import com.jy.adscm.operation.cg.bean.QueryCgBom;
import com.jy.adscm.operation.cg.bean.BomList;
import com.jy.adscm.zltx.bean.JyDrawingType;

import java.util.List;

/**
 * <p>
 * bom与供应商 服务类
 * </p>
 *
 * @author zyl
 * @since 2019-07-07
 */
public interface CgBomSupplierService extends IService<CgBomSupplier> {

    List<CgBomSupplier> selectByBid(Integer bid);

    List<JyDrawingType> selectDrawBoms();

    Page<CgBom> selectBoms(Page page, QueryCgBom queryCgBom);


    BomList selectBom(QueryCgBom queryCgBom);

    BomList querybom(QueryCgBom queryCgBom);

    List<CgSupplier> selectSupplierbyId(QueryCgBom queryCgBom);

    void updateBom(CgBom cgBom);

    void test();

     BomList queryboms(QueryCgBom queryCgBom);
}
